From 4d94b68b09a4a9374723dad67f65a5608c462b12 Mon Sep 17 00:00:00 2001 From: "Eric M. Ludlam" Date: Wed, 4 Apr 2001 00:49:34 +0000 Subject: [PATCH] (speedbar-insert-image-button-maybe): Check for `xemacs' feature instead of for the function `set-extent-property'. --- lisp/speedbar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 97e2a582f48..a880e571320 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -4318,7 +4318,7 @@ If we have an image associated with it, use that image." ;; underlying text. This means if we leave it tangible, then I ;; don't have to change said giant piles o code. (if (and a (symbol-value (cdr a))) - (if (fboundp 'set-extent-property) + (if (featurep 'xemacs) (add-text-properties (+ start (length bt)) start (list 'end-glyph (symbol-value (cdr a)) 'rear-nonsticky (list 'display) -- 2.30.2